package controller
{
	import model.*;
	
	import spark.components.Label;
	import spark.components.SkinnablePopUpContainer;

	public class NSController
	{
			private var mymodel:Service;
			public function NSController(m:Service) {
				mymodel=m;
			}
			public function getmirror(event:ServiceEvent):void {
				mymodel.getmirror();
			}
			public function getResultSearch(event:SearchEvent):void {
				mymodel.getResultSearch(event.getData());
			}
			public function getResultById(id:String):void {
				mymodel.getSerieById(id);
			}
            public function getResultTop(event:TopEvent):void {
                mymodel.getResultTop();
            }
            public function getResultPlanning(event:PlanningEvent):void {
                mymodel.getResultPlanning(event.getData());
            }
            public function getResultTopServer(event:TopServerEvent):void {
                mymodel.getResultTopServer(event.getData());
            }
		
	}
}